<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<title>51微贷</title>
		<link rel="stylesheet" type="text/css" href="../../css/reset.css">
		<link rel="stylesheet" type="text/css" href="../../css/common.css">
		<link rel="stylesheet" type="text/css" href="../../css/icomoon/style.css">
		<script type="text/javascript" src="../../js/rem.js"></script>
	</head>
	<body>
		<div class="m-invest">			
			<h3 class="title">
				<a class="f-fl tab cur" data-id="1">散标投资</a>
				<a class="f-fr tab" data-id="2">约标专享</a>
			</h3>
			<div class="project-list">
				<div class="" id="project1">
					<div class="project">
						<h4>
							<span class="periods">车贷宝【2017032201】</span>
							<span class="num f-fr">21笔购买</span>
						</h4>
						<div class="info clearfix">
							<p>
								<span class="percent"><span>15</span>%+4%</span>
								<span>预期收益</span>
							</p>
							<p class="center">
								<span class="date-line"><span>12</span>个月</span>
								<span>等额本金</span>
							</p>
							<p class="right f-pr">
								<span class="circle" id="circle-2"></span>
							</p>
						</div>
					</div>
					<div class="project">
						<h4>
							<span class="periods">车贷宝【2017032203】</span>
							<span class="num f-fr">21笔购买</span>
						</h4>
						<div class="info clearfix">
							<p>
								<span class="percent"><span>15</span>%</span>
								<span>预期收益</span>
							</p>
							<p class="center">
								<span class="date-line"><span>12</span>个月</span>
								<span>先息后本</span>
							</p>
							<p class="right f-pr">
								<span class="complete f-pa">
									<span class="child f-pa">已满标</span>
								</span>
							</p>
						</div>
					</div>
				</div>
				<div class="hide" id="project2">
					<div class="project">
						<h4>
							<span class="periods">
								<i class="sign">约</i>
								<i class="awards">奖</i>
								<span>车贷宝【2017032201】</span>
							</span>
							<span class="num f-fr">华戈尔...专享</span>
						</h4>
						<div class="info clearfix">
							<p>
								<span class="percent"><span>15</span>%+4%</span>
								<span>预期收益</span>
							</p>
							<p class="center">
								<span class="date-line"><span>12</span>个月</span>
								<span>等额本金</span>
							</p>
							<p class="right f-pr">
								<span class="circle" id="circle-3"></span>
							</p>
						</div>
					</div>
					<div class="project">
						<h4>
							<span class="periods">
								<i class="sign">约</i>
								<i class="awards">奖</i>
								<span>车贷宝【2017032201】</span>
							</span>
							<span class="num f-fr">华戈尔...专享</span>
						</h4>
						<div class="info clearfix">
							<p>
								<span class="percent"><span>15</span>%+4%</span>
								<span>预期收益</span>
							</p>
							<p class="center">
								<span class="date-line"><span>12</span>个月</span>
								<span>等额本金</span>
							</p>
							<p class="right f-pr">
								<span class="complete f-pa">
									<span class="child f-pa">已满标</span>
								</span>
							</p>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="../../js/zepto.min.js"></script>
		<script type="text/javascript" src="../../js/mui.min.js"></script>
		<script type="text/javascript" src="../../js/circles.min.js"></script>
		<script type="text/javascript" src="../../js/common.js"></script>

		<script type="text/javascript">
			tab('.m-invest .title a', '#project', 'cur', 2);
			
			var clientWidth = document.documentElement.clientWidth;
			var canvasWidth = Math.floor(clientWidth * 124 / 750);
			var radius = canvasWidth / 2;
			var width = Math.floor(clientWidth * 8 / 750);
			Circles.create({
				id: 'circle-2',
				radius: radius,
				value: 60,
				maxValue: 100,
				width: width,
				text: '投',
				colors: ['#edecef', '#20adff'],
				duration: 500,
				wrpClass: 'circles-wrp',
				textClass: 'circles-text',
				valueStrokeClass: 'circles-valueStroke',
				maxValueStrokeClass: 'circles-maxValueStroke',
				styleWrapper: true,
				styleText: true
			});

			Circles.create({
				id: 'circle-3',
				radius: radius,
				value: 60,
				maxValue: 100,
				width: width,
				text: '投',
				colors: ['#edecef', '#20adff'],
				duration: 500,
				wrpClass: 'circles-wrp',
				textClass: 'circles-text',
				valueStrokeClass: 'circles-valueStroke',
				maxValueStrokeClass: 'circles-maxValueStroke',
				styleWrapper: true,
				styleText: true
			});
		</script>
	</body>
</html>